// @flow
import React from 'react';

export type Modal = {
  open: boolean,
  title: ?string,
  Body: ?React.Element<any>,
};

export type APIActions = {
  REQUEST: string,
  SUCCESS: string,
  FAILURE: string,
  ADD: string,
};

export type Pagination = {
  isFetching: boolean,
  nextPageUrl: string,
  totals: number,//总数
  pageCount: number,//下一页
  hasMore: boolean,
  addCount: number, //添加了几条数据
  ids: array,
  number: number,//当前页
  aggregations: object,//聚类数据
}
